var express = require('express')

var router = express.Router()

router.get('/', function(req, res, next) {
  console.log('请求根目录')
  console.log(req.userInfo)
  res.render('main/index.html', {
    userInfo: req.userInfo
  })
})

module.exports = router